Optimal. Leaf size=121 \[ 6 a b^2 m^2 n^2 x-\frac{3 b m n (e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^2}{f}+\frac{(e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3}{f}+\frac{6 b^3 m^2 n^2 (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )}{f}-6 b^3 m^3 n^3 x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.140638, antiderivative size = 121, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2389, 2296, 2295, 2445} \[ 6 a b^2 m^2 n^2 x-\frac{3 b m n (e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^2}{f}+\frac{(e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3}{f}+\frac{6 b^3 m^2 n^2 (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )}{f}-6 b^3 m^3 n^3 x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2389
Rule 2296
Rule 2295
Rule 2445
Rubi steps
\begin{align*} \int \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3 \, dx &=\operatorname{Subst}\left (\int \left (a+b \log \left (c d^n (e+f x)^{m n}\right )\right )^3 \, dx,c d^n (e+f x)^{m n},c \left (d (e+f x)^m\right )^n\right )\\ &=\operatorname{Subst}\left (\frac{\operatorname{Subst}\left (\int \left (a+b \log \left (c d^n x^{m n}\right )\right )^3 \, dx,x,e+f x\right )}{f},c d^n (e+f x)^{m n},c \left (d (e+f x)^m\right )^n\right )\\ &=\frac{(e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3}{f}-\operatorname{Subst}\left (\frac{(3 b m n) \operatorname{Subst}\left (\int \left (a+b \log \left (c d^n x^{m n}\right )\right )^2 \, dx,x,e+f x\right )}{f},c d^n (e+f x)^{m n},c \left (d (e+f x)^m\right )^n\right )\\ &=-\frac{3 b m n (e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^2}{f}+\frac{(e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3}{f}+\operatorname{Subst}\left (\frac{\left (6 b^2 m^2 n^2\right ) \operatorname{Subst}\left (\int \left (a+b \log \left (c d^n x^{m n}\right )\right ) \, dx,x,e+f x\right )}{f},c d^n (e+f x)^{m n},c \left (d (e+f x)^m\right )^n\right )\\ &=6 a b^2 m^2 n^2 x-\frac{3 b m n (e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^2}{f}+\frac{(e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3}{f}+\operatorname{Subst}\left (\frac{\left (6 b^3 m^2 n^2\right ) \operatorname{Subst}\left (\int \log \left (c d^n x^{m n}\right ) \, dx,x,e+f x\right )}{f},c d^n (e+f x)^{m n},c \left (d (e+f x)^m\right )^n\right )\\ &=6 a b^2 m^2 n^2 x-6 b^3 m^3 n^3 x+\frac{6 b^3 m^2 n^2 (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )}{f}-\frac{3 b m n (e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^2}{f}+\frac{(e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3}{f}\\ \end{align*}
Mathematica [A] time = 0.0129385, size = 100, normalized size = 0.83 \[ \frac{(e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^3-3 b m n \left ((e+f x) \left (a+b \log \left (c \left (d (e+f x)^m\right )^n\right )\right )^2-2 b m n \left (f x (a-b m n)+b (e+f x) \log \left (c \left (d (e+f x)^m\right )^n\right )\right )\right )}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.093, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b\ln \left ( c \left ( d \left ( fx+e \right ) ^{m} \right ) ^{n} \right ) \right ) ^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.15841, size = 428, normalized size = 3.54 \begin{align*} -3 \, a^{2} b f m n{\left (\frac{x}{f} - \frac{e \log \left (f x + e\right )}{f^{2}}\right )} + b^{3} x \log \left (\left ({\left (f x + e\right )}^{m} d\right )^{n} c\right )^{3} + 3 \, a b^{2} x \log \left (\left ({\left (f x + e\right )}^{m} d\right )^{n} c\right )^{2} + 3 \, a^{2} b x \log \left (\left ({\left (f x + e\right )}^{m} d\right )^{n} c\right ) - 3 \,{\left (2 \, f m n{\left (\frac{x}{f} - \frac{e \log \left (f x + e\right )}{f^{2}}\right )} \log \left (\left ({\left (f x + e\right )}^{m} d\right )^{n} c\right ) + \frac{{\left (e \log \left (f x + e\right )^{2} - 2 \, f x + 2 \, e \log \left (f x + e\right )\right )} m^{2} n^{2}}{f}\right )} a b^{2} -{\left (3 \, f m n{\left (\frac{x}{f} - \frac{e \log \left (f x + e\right )}{f^{2}}\right )} \log \left (\left ({\left (f x + e\right )}^{m} d\right )^{n} c\right )^{2} -{\left (\frac{{\left (e \log \left (f x + e\right )^{3} + 3 \, e \log \left (f x + e\right )^{2} - 6 \, f x + 6 \, e \log \left (f x + e\right )\right )} m^{2} n^{2}}{f^{2}} - \frac{3 \,{\left (e \log \left (f x + e\right )^{2} - 2 \, f x + 2 \, e \log \left (f x + e\right )\right )} m n \log \left (\left ({\left (f x + e\right )}^{m} d\right )^{n} c\right )}{f^{2}}\right )} f m n\right )} b^{3} + a^{3} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.45365, size = 1374, normalized size = 11.36 \begin{align*} \frac{b^{3} f n^{3} x \log \left (d\right )^{3} + b^{3} f x \log \left (c\right )^{3} +{\left (b^{3} f m^{3} n^{3} x + b^{3} e m^{3} n^{3}\right )} \log \left (f x + e\right )^{3} - 3 \,{\left (b^{3} f m n - a b^{2} f\right )} x \log \left (c\right )^{2} - 3 \,{\left (b^{3} e m^{3} n^{3} - a b^{2} e m^{2} n^{2} +{\left (b^{3} f m^{3} n^{3} - a b^{2} f m^{2} n^{2}\right )} x -{\left (b^{3} f m^{2} n^{2} x + b^{3} e m^{2} n^{2}\right )} \log \left (c\right ) -{\left (b^{3} f m^{2} n^{3} x + b^{3} e m^{2} n^{3}\right )} \log \left (d\right )\right )} \log \left (f x + e\right )^{2} + 3 \,{\left (2 \, b^{3} f m^{2} n^{2} - 2 \, a b^{2} f m n + a^{2} b f\right )} x \log \left (c\right ) + 3 \,{\left (b^{3} f n^{2} x \log \left (c\right ) -{\left (b^{3} f m n^{3} - a b^{2} f n^{2}\right )} x\right )} \log \left (d\right )^{2} -{\left (6 \, b^{3} f m^{3} n^{3} - 6 \, a b^{2} f m^{2} n^{2} + 3 \, a^{2} b f m n - a^{3} f\right )} x + 3 \,{\left (2 \, b^{3} e m^{3} n^{3} - 2 \, a b^{2} e m^{2} n^{2} + a^{2} b e m n +{\left (b^{3} f m n x + b^{3} e m n\right )} \log \left (c\right )^{2} +{\left (b^{3} f m n^{3} x + b^{3} e m n^{3}\right )} \log \left (d\right )^{2} +{\left (2 \, b^{3} f m^{3} n^{3} - 2 \, a b^{2} f m^{2} n^{2} + a^{2} b f m n\right )} x - 2 \,{\left (b^{3} e m^{2} n^{2} - a b^{2} e m n +{\left (b^{3} f m^{2} n^{2} - a b^{2} f m n\right )} x\right )} \log \left (c\right ) - 2 \,{\left (b^{3} e m^{2} n^{3} - a b^{2} e m n^{2} +{\left (b^{3} f m^{2} n^{3} - a b^{2} f m n^{2}\right )} x -{\left (b^{3} f m n^{2} x + b^{3} e m n^{2}\right )} \log \left (c\right )\right )} \log \left (d\right )\right )} \log \left (f x + e\right ) + 3 \,{\left (b^{3} f n x \log \left (c\right )^{2} - 2 \,{\left (b^{3} f m n^{2} - a b^{2} f n\right )} x \log \left (c\right ) +{\left (2 \, b^{3} f m^{2} n^{3} - 2 \, a b^{2} f m n^{2} + a^{2} b f n\right )} x\right )} \log \left (d\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 9.33698, size = 1023, normalized size = 8.45 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.2314, size = 1110, normalized size = 9.17 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]